//
//  FenxiaoDingdanVC.m
//  1243
//
//  Created by apple on 16/7/20.
//  Copyright © 2016年 1243. All rights reserved.
//

#import "FenxiaoDingdanVC.h"
#import "LiuXSegmentView.h"

@interface FenxiaoDingdanVC ()

@end

@implementation FenxiaoDingdanVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"分销订单";
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.translucent = NO;
    [self createUI];
    
    
}

- (void)createUI {
    NSArray *nameArr = [NSArray arrayWithObjects:@"所有订单",@"代付款",@"已付款",@"已完成", nil];
    LiuXSegmentView *liuXView = [[LiuXSegmentView alloc]initWithFrame:CGRectMake(0 , 0, WIDTH, 40) titles:nameArr clickBlick:^(NSInteger index) {
        
        
        
        
    }];
    liuXView.lineColor = [UIColor whiteColor];
    
    [self.view addSubview:liuXView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
